﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DoanhNghiep.Master" AutoEventWireup="true" CodeBehind="DNRegistry.aspx.cs" Inherits="WebBanHang.GUI.DNRegistry" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style16
        {
            width: 100%;
        }
        .style17
        {
            text-align: center;
        }
        .style19
        {
            width: 260px;
            text-align: right;
        }
        .style18
        {
            width: 260px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style16">
        <tr>
            <td class="style17">
                <strong>ĐĂNG KÝ&nbsp;</strong></td>
        </tr>
    </table>
    <table class="style16">
        <tr>
            <td class="style19">
                Tên công ty</td>
            <td>
                <asp:TextBox ID="txtTenCongTy" runat="server" Width="257px"></asp:TextBox>
            </td>
        </tr>
    </table>
    <table class="style16">
        <tr>
            <td class="style19">
                Điện thoại 
            </td>
            <td>
                <asp:TextBox ID="txtDienThoai" runat="server" Width="260px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style19">
                Email</td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="252px"></asp:TextBox>
                <asp:RegularExpressionValidator ID="KTEmail" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="abc@abc.abc" SetFocusOnError="True" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style19">
                Địa chỉ</td>
            <td>
                <asp:TextBox ID="txtDiaChi" runat="server" Width="253px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style17" colspan="2">
                T<strong>HÔNG TIN ĐĂNG NHẬP</strong></td>
        </tr>
        <tr>
            <td class="style19">
                Tên đăng nhập</td>
            <td>
                <asp:TextBox ID="txtTenDangNhap" runat="server" Width="247px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style19">
                Mật khẩu</td>
            <td>
                <asp:TextBox ID="txtMatKhau" runat="server" Width="243px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style19">
                Nhập lại mật khẩu</td>
            <td>
                <asp:TextBox ID="txtNhapLaiMatKhau" runat="server" Width="248px"></asp:TextBox>
                <asp:CompareValidator ID="KTMKDN" runat="server" ControlToCompare="txtMatKhau" 
                    ControlToValidate="txtNhapLaiMatKhau" ErrorMessage="Password không trùng nhau" 
                    SetFocusOnError="True">*</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style18">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" Width="163px" 
                    onclick="btnDangKy_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
